package com.itheima.user.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author liqp
 * @version 1.0
 * @date 2021/1/28
 */
@Data
@TableName("user")
public class User {

    private String id;
    private String userName;
    private String password;
    private String email;
    //逻辑删除字段
    @TableLogic
    private int deleted;

    private Date createTime;
    private Date updateTime;
}
